package cn.sany.cterminal.common.enumeration;

/**
 *
 * @Project : forklift
 * @Package : cn.sany.forklift.common.enumeration
 * @Class : ReturnStateEnum
 * @Description : 枚举类
 * @author : zhouxing
 * @CreateDate : 2020-07-14 17:19:29
 * @version : V0.5
 * @Copyright : 2020 sany.com Inc. All rights reserved.
 * @Reviewed :
 * @UpateLog :    Name    Date    Reason/Contents
 *             ---------------------------------------
 *                ****    ****    ****
 *
 */
public enum ReturnStateEnum {
    /**
     * 状态
     */
    SUCCESS(0, "操作成功"),
    /**
     * 状态
     */
    FAIL(1, "操作失败");


    /**
     * 状态编码
     **/
    private int code;

    /**
     * 状态信息
     **/
    private String msg;


    ReturnStateEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
